#include<bits/stdc++.h>
using namespace std; 
int n;
int a[100000],b[100001]={0};
int maxl(int a1,int b1){
    if(a1>=b1)
    return a1;
    else 
    return b1;
}
int minl(int a1,int b1){
    if(a1<=b1)
    return a1;
    else 
    return b1;
}
int main(){
    freopen("duel.in","r",stdin);
    freopen("duel.out","w",stdout);
    int c=0,d=1000000;
    scanf("%d",&n);
    for(int i=0;i<=n-1;i++){
        scanf("%d",&a[i]);
        c=maxl(c,a[i]);
        d=minl(d,a[i]);
        b[a[i]]++;
    }
    int e=0;
    for(int i=d;i<=c;i++){
          e=maxl(e,b[i]);
    }
    printf("%d",e);
    return 0;
}